
<script setup lang="ts">
import readCard from './readCard.vue';
import ReadCard from './readCard.vue';
const props = defineProps({
    year: String
})
</script>

<template>
  <div class="readViewContainer">
      <div v-if="year?.length == 4">
          <read-card :readData="[]" />
      </div>
      <div v-else>
           <van-empty description="小主到底了~" />
      </div>
  </div>
</template>

<style lang="less">
.readViewContainer{
    margin-top: 50px;
    min-height: 100vh;
}
</style>